package com.xq.config;

import com.xq.utils.SwaggerUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * Swagger配置
 */
@Configuration
@EnableSwagger2WebMvc
public class SwaggerConfig {
    @Bean
    Docket ExportmanaApi() {
        return SwaggerUtils.defaultDocketBuilder("全部接口", "com.xq.controller", "全部接口");
    }
}
